gtkmenubutton: remove weak pointer when needed
authorPaolo Borelli <pborelli@gnome.org>
Sun, 4 Nov 2012 15:46:35 +0000 (16:46 +0100)
committerPaolo Borelli <pborelli@gnome.org>
Sun, 4 Nov 2012 16:12:14 +0000 (17:12 +0100)
commit1beb9db7b09483cf9b71be733f73d02cb7adc666
tree3723564d9b3ace0a6800fabd66de9f86574ca769
parent583036378706ab03822f30ce311c41293d482d6c
gtkmenubutton: remove weak pointer when needed

We must make sure to remove the weak pointer when disposing the widget
or when resetting the align widget otherwise glib will try to nullify
invalid memory.
gtk/gtkmenubutton.c